package com.his.outpatientvisit.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class PatiOutVisitSettleVo {
    /**
     *
     * 结算号
     *
     * @mbggenerated
     */
//    @NotEmpty(message = "结算号不能为空")
    private String settleid;

    /**
     *
     * 结算日期
     *
     * @mbggenerated
     */
//
//    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
//    @NotEmpty(message = "结算日期不能为空")
    private Date settledate;

    /**
     *
     * 结算金额
     *
     * @mbggenerated
     */
    @NotEmpty(message = "结算金额不能为空")
    private BigDecimal settleamount;

    /**
     *
     * 病人负担金额
     *
     * @mbggenerated
     */
    @NotEmpty(message = "病人负担金额不能为空")
    private BigDecimal patiamount;

    /**
     *
     * 结算操作员
     *
     * @mbggenerated
     */
//    @NotEmpty(message = "结算操作员不能为空")
    private String empid;

    /**
     *
     * 门诊流水号
     *
     * @mbggenerated
     */
    @NotEmpty(message = "门诊流水号不能为空")
    private String serialnumber;

    /**
     *
     * 结帐编码
     *
     * @mbggenerated
     */
    @NotEmpty(message = "结帐编码不能为空")
    private String footid;

    /**
     *
     * 增时间
     *
     * @mbggenerated
     */
//    @NotEmpty(message = "增时间不能为空")
    private Date createtime;

    /**
     *
     * 改时间
     *
     * @mbggenerated
     */
//    @NotEmpty(message = "改时间不能为空")
    private Date updatetime;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    //private Object itemxml;

    /**
     *
     * 医院编码
     *
     * @mbggenerated
     */
//    @NotEmpty(message = "医院编码不能为空")
//    private String hospid;

    /**
     *
     * 作废人员
     *
     * @mbggenerated
     */
    private String cancelempid;

    /**
     *
     * 作废原因
     *
     * @mbggenerated
     */
    private String cancelreason;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    private String cardtypeid;

    /*
     *
     *  是否结算标识
     *
     */
    @NotEmpty(message = "是否结算标识不能为空")
    private Integer flag;
}
